home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 - Inside Community Club / Acrobat Pro 6 D.bin / installer / Data1.cab / ImageConversion.api / EXVW / 300 < prev    next >
Encoding:
Text File  |  2003-05-15  |  3.3 KB  |  88 lines

  1. gWidth = max(
  2.     zstring_width(zstring: '$$$IDS_OUTPUT_COLOR_POLICY_DISCARD'),
  3.     zstring_width(zstring: '$$$IDS_OUTPUT_COLOR_POLICY_EMBED'),
  4.     zstring_width(zstring: '$$$IDS_OUTPUT_COLOR_POLICY_ASK'),
  5.     zstring_width(zstring: '$$$IDS_NOT_APPLICABLE'),
  6.     zstring_width(zstring: '$$$IDS_COMPRESSION_G4'),
  7.     zstring_width(zstring: '$$$IDS_COMPRESSION_JPEG_LOW'),
  8.     zstring_width(zstring: '$$$IDS_COMPRESSION_JPEG_MEDIUM_LOW'),
  9.     zstring_width(zstring: '$$$IDS_COMPRESSION_JPEG_MEDIUM'),
  10.     zstring_width(zstring: '$$$IDS_COMPRESSION_JPEG_MEDIUM_HIGH'),
  11.     zstring_width(zstring: '$$$IDS_COMPRESSION_JPEG_HIGH'),
  12.     zstring_width(zstring: '$$$IDS_COMPRESSION_NONE'));
  13.  
  14. gLabelWidth = max(
  15.     zstring_width(zstring: '$$$/Dialogs/SaveAs/ColorManagement/Rgb'),
  16.     zstring_width(zstring: '$$$/Dialogs/SaveAs/ColorManagement/Cmyk'),
  17.     zstring_width(zstring: '$$$/Dialogs/SaveAs/ColorManagement/Gray'),
  18.     zstring_width(zstring: '$$$/Dialogs/SaveAs/ColorManagement/Other'),
  19.     zstring_width(zstring: '$$$/Dialogs/TiffOptions/Compression/Mono'),
  20.     zstring_width(zstring: '$$$/Dialogs/TiffOptions/Compression/Gray'),
  21.     zstring_width(zstring: '$$$/Dialogs/TiffOptions/Compression/Color'));
  22.  
  23. dialog(name: '$$$/Dialogs/TiffOptionsExtract')
  24. {
  25.     view(align_children: align_left)
  26.     {
  27.         cluster(name: '$$$/Dialogs/SaveAs/Settings', align_children: align_left)
  28.         {
  29.             view(align_children: align_right)
  30.             {
  31.                 view(align_children: align_row)
  32.                 {
  33.                     static_text(name: '$$$/Dialogs/TiffOptions/Compression/Mono', width: gLabelWidth, alignment: align_right);
  34.                     popup(item_id: 'mono', width: gWidth);
  35.                 }
  36.                 view(align_children: align_row)
  37.                 {
  38.                     static_text(name: '$$$/Dialogs/TiffOptions/Compression/Gray', width: gLabelWidth, alignment: align_right);
  39.                     popup(item_id: 'gray', width: gWidth);
  40.                 }
  41.                 view(align_children: align_row)
  42.                 {
  43.                     static_text(name: '$$$/Dialogs/TiffOptions/Compression/Color', width: gLabelWidth, alignment: align_right);
  44.                     popup(item_id: 'colr', width: gWidth);
  45.                 }
  46.             }
  47.         }
  48.  
  49.         cluster(name: '$$$/Dialogs/SaveAs/ColorManagement', align_children: align_left)
  50.         {
  51.             view(align_children: align_right)
  52.             {
  53.                 view(align_children: align_row)
  54.                 {
  55.                     static_text(item_id: 'cmrL', name: '$$$/Dialogs/SaveAs/ColorManagement/Rgb', width: gLabelWidth, alignment: align_right);
  56.                     popup(item_id: 'cmrC', width: gWidth);
  57.                 }
  58.                 view(align_children: align_row)
  59.                 {
  60.                     static_text(item_id: 'cmcL', name: '$$$/Dialogs/SaveAs/ColorManagement/Cmyk', width: gLabelWidth, alignment: align_right);
  61.                     popup(item_id: 'cmcC', width: gWidth);
  62.                 }
  63.                 view(align_children: align_row)
  64.                 {
  65.                     static_text(item_id: 'cmgL', name: '$$$/Dialogs/SaveAs/ColorManagement/Gray', width: gLabelWidth, alignment: align_right);
  66.                     popup(item_id: 'cmgC', width: gWidth);
  67.                 }
  68.                 view(align_children: align_row)
  69.                 {
  70.                     static_text(item_id: 'cmoL', name: '$$$/Dialogs/SaveAs/ColorManagement/Other', width: gLabelWidth, alignment: align_right);
  71.                     popup(item_id: 'cmoC', width: gWidth);
  72.                 }
  73.             }
  74.         }
  75.  
  76.         cluster(name: '$$$/Dialogs/Extract/Settings', align_children: align_right)
  77.         {
  78.             view(align_children: align_row)
  79.             {
  80.                 static_text(name: '$$$/Dialogs/Extract/Settings/Threshold');
  81.                 popup(item_id: 'trsh', width: 12 * max_char_width());
  82.             }
  83.         }
  84.  
  85.         ok_cancel();
  86.     }
  87. }
  88.